package com.dstation.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.dstation.domain.*;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MessageMapper extends BaseMapper<VideoCommentInfo> {
    IPage<VideoCommentInfo> selectCommentMessage(@Param("userId") Long userId, @Param("iPage") Page iPage);

    IPage<VideoInfo> selectVideoMessage(@Param("userId")Long userId,@Param("iPage") Page iPage);

    IPage<DynamicInfo> selectDynamicMessage(@Param("userId")Long userId,@Param("iPage") Page iPage);

    IPage<VideoLikedInfo> selectLikedMessage(@Param("userId")Long userId,@Param("iPage") Page iPage);

    IPage<CoinOperatedInfo> selectCoinMessage(@Param("userId")Long userId,@Param("iPage") Page iPage);

    IPage<OrderInfo> selectRechargeMessage(@Param("userId")Long userId,@Param("iPage") Page iPage);
}
